<?php foreach ($ids as $id): ?>
<div class="list-box">
	<?php echo $result[$id]['name'] ?>
	<?php
		$label = 'See All Songs';
		$rurl= array('/resource/default/listSong','aid'=>$aid,'bid'=>$id);
		$htmlOption = array();
		echo CHtml::link($label,$rurl,$htmlOption);
	?>
</div>
<?php endforeach ?>